#pragma once
#include <iostream>
#include <vector>
using namespace std;

template<typename T>
class Table {
private:
    vector<T> table;
public:
    int insert(const T& v) {
        table.push_back(v);
        return table.size() - 1;
    }
};